PGetPPDFontLocation

Returns the location of the requested font as listed in the currently selected PPD file.


Query constructor

This class requires the name of a font for the constructor. Use the PGetFontList query to obtain a list of fonts in PageMaker.

PGetPPDFontLocation(const char * sPSFontName);

const char * sPSFontName;

PostScript name of the font.


Query results

This query returns a short value indicating:
0 if listed as not resident in the printer
1 if listed as in printer's ROM
2 if listed as on printer's hard disk
Example.

PGetPPDFontLocation fontLoc("Helvetica");
switch (fontLoc) {
	case 0:	// not resident
	...
	case 1:	// in printer ROM
	...
	case 2:	// in printer hard drive
	...
}


Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support